package com.ruoyi.kjy.service.impl;/**
 * @InterfaceName: AnnouncementServiceImpl
 * @Description:
 * @Author: YourName
 * @Date: 2023-04-12
 */

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.ruoyi.kjy.domain.Announcement;
import com.ruoyi.kjy.mapper.AnnouncementMapper;
import com.ruoyi.kjy.service.IAnnouncementService;
import org.springframework.stereotype.Service;

import java.io.Serializable;
import java.util.Arrays;
import java.util.List;

/**
 *@InterfaceName: AnnouncementServiceImpl
 *@Description:
 *@Author: lilirui
 *@Date: 2023-04-12
 */
@Service
public class IAnnouncementServiceImpl extends ServiceImpl<AnnouncementMapper, Announcement> implements IAnnouncementService {
    @Override
    public boolean removeByIds(Long[] ids) {
        List<Serializable> idList = Arrays.asList(ids);
        return super.removeByIds(idList);
    }
}
